package com.tengju.bff.interfaces.manage.star.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tengju.bff.interfaces.shared.MobileVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@ApiModel(value = "StarDetailVO", description = "星级用户列表详情对象")
public class StarDetailVO implements Serializable {

    private static final long serialVersionUID = 1L;
    
    @ApiModelProperty("用户主键id")
    private Long userId;
    
    @ApiModelProperty("用户编号idCode")
    private Long idCode;
    
    @ApiModelProperty("用户手机号码")
    private MobileVO mobile;
    
    @ApiModelProperty("用户昵称")
    private String nickName;

    @ApiModelProperty("星级类型 0：无 100：服务商 200：运营商")
    private Integer starRole;
    
    @ApiModelProperty("用户星级 0：无 10：城市服务商1星，20：城市服务商2星，30：城市服务商3星，40：城市服务商4星  50：EC，60：SEC, 70: EEC")
    private Integer starLevel;
    
    @ApiModelProperty("合同状态：1：有效，2：无效")
    private Byte agreementStatus;
    
    @ApiModelProperty("合同到期时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime agreementExpireDate;
    
    @ApiModelProperty("星级更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;
    
    @ApiModelProperty("黑名单标志（true代表是，false代表否）")
    private Boolean blackListFlag;
    
    @ApiModelProperty("备注（预留字段，目前不展示）")
    private String auditDesc;

}
